package com.hpp.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.hpp.model.Attachment;
import com.hpp.persistence.AttachmentMapper;
import com.hpp.service.IManageService;

@Service
public class ManageServiceImpl implements IManageService {

	@Autowired
	AttachmentMapper attachmentMapper;

	@Override
	public int addAttachment(Attachment attachment) {
		return attachmentMapper.insertSelective(attachment);
	}
}
